<? $this->load->view('head'); ?>
<body>
<div class="wrapper">
    <div id="top"></div>
    <? $this->load->view('header'); ?>
    <div class="clear"></div>
    <div id="maincontent">
        <? $this->load->view('top_contents'); ?>
        <div class="bd_content">
            <? $this->load->view('left'); ?>
            <div id="mainpage_pro">
                <div class="nd">
                    <div class="hd">Sản phẩm</div>
                    <div class="bd">
                        <? foreach($list as $rs):?>
                        <div class="item"> <a title="<?=$rs->ProductName?>" rel="flowers" class="lightbox" href=""><img width="200" height="180" src="<?=base_url()?>uploads/images/<?=$rs->ProductImg?>"></a>
                            <div class="pro_name"><a href="">
                                <?=$rs->ProductName?>
                                </a></div>
                        </div>
                        <? endforeach ?>
                        <div class="page">
                            <?=$pagination?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <? $this->load->view('bt_contents'); ?>
    </div>
    <div class="clear"></div>
    <div class="clear"></div>
    <? $this->load->view('bottom'); ?>
</div>
<!--end wrapper-->
</body>
</html>